package org.senseframework.support.example.mongo;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by pjwang2 on 2017\9\9 0009.
 */
public class CopyRight implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 4045031715172321543L;
	/**
	 * 版权编号
	 */
//	private String id;

	private String _id;

	/**
	 * 版权编号
	 */
	private String crid;
	/**
	 * 版权类型 1-移动，2-电信，3-联通
	 */
	private int type;
	/**
	 * 资费 单位：元
	 */
	private double fee;
	/**
	 * 有效期
	 */
	private Date deadline;

//	public String getId() {
//		return id;
//	}
//
//	public void setId(String id) {
//		this.id = id;
//	}

	public String getCrid() {
		return crid;
	}

	public void setCrid(String crid) {
		this.crid = crid;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public double getFee() {
		return fee;
	}

	public void setFee(double fee) {
		this.fee = fee;
	}

	public Date getDeadline() {
		return deadline;
	}

	public void setDeadline(Date deadline) {
		this.deadline = deadline;
	}

	public String get_id() {
		return _id;
	}

	public void set_id(String _id) {
		this._id = _id;
	}

	@Override
	public String toString() {
		return "CopyRight{" +
//				"id='" + id + '\'' +
				", _id='" + _id + '\'' +
				", crid='" + crid + '\'' +
				", type=" + type +
				", fee=" + fee +
				", deadline=" + deadline +
				'}';
	}
}
